﻿using System;
using System.Collections.Generic;
using CodeCamp.Models.Shared;

namespace CodeCamp.Models.EventMgmt
{
    public class EventMgmtUsersViewModel : SharedViewModel
    {
        public EventMgmtUsersViewModel()
        {
            UserList = new List<EventMgmtUserViewModel>();
        }

        public string ErrorMsg { get; set; }
        public int PageNumber { get; set; }
        public decimal TotalPages { get; set; }
        public List<EventMgmtUserViewModel> UserList { get; private set; }
        public void FillUserList(List<EventMgmtUserViewModel> userList)
        {
            UserList = new List<EventMgmtUserViewModel>(userList);
        }
    }
}